package com.xbongbong.saas.domain.dao;

import com.xbongbong.pro.domain.entity.StockDateFilterEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @description: 流水日期筛选偏好设置表
 * @Author: lee
 * @date: 2020-02-26 15:50
 * @since v1.0
 */
@Repository
@Mapper
public interface StockDateFilterDao {
    Integer insert(StockDateFilterEntity stockDateFilterEntity);

    Integer update(StockDateFilterEntity stockDateFilterEntity);

    Integer deleteByKey(@Param("key") Long key, @Param("corpid") String corpid);

    StockDateFilterEntity getByKey(@Param("key") Long key, @Param("corpid") String corpid);

    List<StockDateFilterEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer getEntitysCount(@Param("param") Map<String, Object> param);
}
